﻿using System.Collections.Generic;
using Protocol.Dto.Fight;

namespace Protocol.Constant
{
    public static class Constant
    {
        // Dictionary
        private static readonly Dictionary<int, string> TypeTextDict;

        private static Dictionary<int, CardDto> idCardDict;

        // 基础加的的豆子数
        public static int BASE_BEAN_NUMBER = 1000;

        // 基础的经验加成
        public static int ADD_EXP = 100;

        static Constant()
        {
            TypeTextDict = new Dictionary<int, string>
            {
                {1, "大家好，很高兴见到各位~"},
                {2, "和你合作真是太愉快了"},
                {3, "快点把，我等的花都谢了"},
                {4, "你的牌打的太好了！"},
                {5, "不要吵了，有什么好吵的，专心玩游戏吧"},
                {6, "不要走决战到天亮！"},
                {7, "再见了，我会想念大家的~"}
            };

            idCardDict = new Dictionary<int, CardDto>
            {
                {2, new CardDto("HeartThree", CardColor.HEART, CardWeight.THREE)},
            };
        }

        public static string GetChatString(int chatType)
        {
            return TypeTextDict[chatType];
        }
    }
}